<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

	protected function _initAutoload()
	{
		$autoloader = Zend_Loader_Autoloader::getInstance();
		$autoloader->setFallbackAutoloader(true);
	
		return $autoloader;
	}
	/**
	 *
	 * Register plugins
	 */
	protected function _initRegisterPlugins()
	{
	
		require  APPLICATION_PATH.'/plugins/AuthPlugin.php';
		$this->bootstrap('Frontcontroller')
		->getResource('Frontcontroller')
		->registerPlugin(new AuthPlugin());
	}
}

